
var ListPage = Objs("view.components.ListPage",
	UiComponent,
{   
    sortVehicleId:null,
    sortYear:null,
    sortMake:null,
    sortModel:null,
    sortSeller:null,
    sortEmail:null,
    sortState:null,
    sortCity:null,
    sortSubmitDate:null,
    sortSubmitBy:null,
    sortAskingPrice:null,
    sortStatus:null,
    
    next:"",
	previous:"",
	initialize: function()
	{ 
		ListPage.$super.initialize.call( this );
		this.initializeChildren();
		this.bindListeners();
                this.initializePage();
	},
        initializePage:function()
        { 
           
        },
	
    initializeChildren: function()
    {  
	  /* this.sortVehicleId    = jQuery("#sortVehicleId");
           this.sortYear         = jQuery("#sortYear");
           this.sortMake         = jQuery("#sortMake");
           this.sortModel        = jQuery("#sortModel");
           this.sortSeller       = jQuery("#sortSeller");
           this.sortEmail        = jQuery("#sortEmail");
           this.sortState        = jQuery("#sortState");
           this.sortCity         = jQuery("#sortCity");
           this.sortSubmitDate   = jQuery("#sortSubmitDate");
           this.sortSubmitBy     = jQuery("#sortSubmitBy");
           this.sortAskingPrice  = jQuery("#sortAskingPrice");
           this.sortStatus       = jQuery("#sortStatus");       */
    },

	bindListeners: function()
	{ 
           
		/*var namespace = ".ListPage";
                
                this.sortVehicleId.on("click"+namespace, jQuery.proxy( this, "sortVehicleId_clickHandler"));
                this.sortYear.on("click"+namespace, jQuery.proxy( this, "sortYear_clickHandler"));
                this.sortMake.on("click"+namespace, jQuery.proxy( this, "sortMake_clickHandler"));
                this.sortModel.on("click"+namespace, jQuery.proxy( this, "sortModel_clickHandler"));
                this.sortSeller.on("click"+namespace, jQuery.proxy( this, "sortSeller_clickHandler"));
                this.sortEmail.on("click"+namespace, jQuery.proxy( this, "sortEmail_clickHandler"));
                this.sortState.on("click"+namespace, jQuery.proxy( this, "sortState_clickHandler"));
                this.sortCity.on("click"+namespace, jQuery.proxy( this, "sortCity_clickHandler"));
                this.sortSubmitDate.on("click"+namespace, jQuery.proxy( this, "sortSubmitDate_clickHandler"));
                this.sortSubmitBy.on("click"+namespace, jQuery.proxy( this, "sortSubmitBy_clickHandler"));
                this.sortAskingPrice.on("click"+namespace, jQuery.proxy( this, "sortAskingPrice_clickHandler"));
                this.sortStatus.on("click"+namespace, jQuery.proxy( this, "sortStatus_clickHandler"));*/
                
	}
        
        /*sortVehicleId_clickHandler: function()
        {
            alert("hi");
        },
        sortYear_clickHandler: function()
        {
           alert("hi");
        },
        sortMake_clickHandler: function()
        {
            alert("hi");
        },
        sortModel_clickHandler: function()
        {
          alert("hi");
        },
        sortSeller_clickHandler: function()
        {
            alert("hi");
        },
        sortEmail_clickHandler: function()
        {
             alert("hi");
        },
        sortState_clickHandler: function()
        {
              alert("hi");
        },
        sortCity_clickHandler: function()
        {
             alert("hi");
        },
        sortSubmitDate_clickHandler: function()
        {
            alert("hi");
        },
        sortSubmitBy_clickHandler: function()
        {
             alert("hi");
        },
        sortAskingPrice_clickHandler: function()
        {
              alert("hi");
        },
        sortStatus_clickHandler: function()
        {
             alert("hi");
        }*/
        


});
ListPage.NEXT="next";
ListPage.PREVIOUS="previous";
HomePage.STATUS_NEW_SUBMISSION ="statusNewSubmission";
HomePage.STATUS_BID_ACCEPTED ="statusBidAccepted";
HomePage.STATUS_IN_POSSEESSION ="statusInPossession";
HomePage.STATUS_ALL_VEHICLE ="statusAllVehicle";